'use strict';

function choose_multiples_of_three(collection) {
  let result=[];
  for(let item of collection){
    if(item%3==0){
      result.push(item);
    }
  }
  console.log(result);
  return result;
}

module.exports = choose_multiples_of_three;
choose_multiples_of_three([0, 1, 2, 3, 4, 5, 6, 9, 11]);
